package com.zbkj.common.dto.zb;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "CommodityListDto对象", description = "项目信息分页数据Dto对象")
public class CommodityListDto {

    @ApiModelProperty(value = "项目id")
    private Integer id;

    @ApiModelProperty(value = "项目名称")
    private String name;

    @ApiModelProperty(value = "项目分类")
    private Integer classId;

    @ApiModelProperty(value = "项目分类名称")
    private String className;

    @ApiModelProperty(value = "执行步骤")
    private String ruleId;

    @ApiModelProperty(value = "执行步骤ID列表")
    private List<Integer> ruleIdList;

    @ApiModelProperty(value = "执行步骤名称")
    private List<String> ruleName;

    @ApiModelProperty(value = "项目头部图")
    private String headPic;

    @ApiModelProperty(value = "项目详情图")
    private String infoPic;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "状态（1-已上架 2-已下架 )")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private Integer creater;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private Integer updater;

    @ApiModelProperty(value = "简介")
    private String introduce;

    @ApiModelProperty(value = "是否是热门检测项目  1是  0否")
    private Integer hot;

    @ApiModelProperty(value = "是否删除  1是0否")
    private Integer isDel;

    @ApiModelProperty(value = "可查看几条评论")
    private Integer commentCount;
}
